package com.app.mapper;

import com.app.model.ActivityEnlistModel;
import com.app.model.ActivityModel;
import com.app.vo.ActivityEnlistVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ActivityAdminMapper extends BaseMapper<ActivityModel> {
    List<ActivityModel> selectActivityList(Integer page, Integer limit, String title,Integer villageId);

    List<ActivityModel> selectApplicationTitle(Integer villageId);

    List<ActivityEnlistModel> selectApplication(ActivityEnlistModel model);

    Integer selectApplicationCount(String keyword,Integer activityId);
}
